package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 申请售后对象 jiajia_shou_hou
 * 
 * @author knd
 * @date 2021-11-04
 */
public class JiajiaShouHou extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** uid */
    @Excel(name = "uid")
    private Long uid;

    /** oid */
    @Excel(name = "oid")
    private Long oid;

    /** wid */
    @Excel(name = "wid")
    private Long wid;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String iName;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private String cause;

    /** 备注 */
    @Excel(name = "备注")
    private String des;

    /** 图片s */
    private String urls;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 状态 0 待处理 1通过 2驳回 */
    @Excel(name = "状态 0 待处理 1通过 2驳回")
    private Integer status;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String boHuiCause;

    private String uAvatar;
    private String uName;
    private String wName;
    private String orderSn;

    public String getuAvatar() {
        return uAvatar;
    }

    public void setuAvatar(String uAvatar) {
        this.uAvatar = uAvatar;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getwName() {
        return wName;
    }

    public void setwName(String wName) {
        this.wName = wName;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getUrls() {
        return urls;
    }

    public void setUrls(String urls) {
        this.urls = urls;
    }

    public Long getWid() {
        return wid;
    }

    public void setWid(Long wid) {
        this.wid = wid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setOid(Long oid) 
    {
        this.oid = oid;
    }

    public Long getOid() 
    {
        return oid;
    }
    public void setiName(String iName) 
    {
        this.iName = iName;
    }

    public String getiName() 
    {
        return iName;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setCause(String cause) 
    {
        this.cause = cause;
    }

    public String getCause() 
    {
        return cause;
    }
    public void setDes(String des) 
    {
        this.des = des;
    }

    public String getDes() 
    {
        return des;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setBoHuiCause(String boHuiCause) 
    {
        this.boHuiCause = boHuiCause;
    }

    public String getBoHuiCause() 
    {
        return boHuiCause;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("oid", getOid())
            .append("iName", getiName())
            .append("addtime", getAddtime())
            .append("cause", getCause())
            .append("des", getDes())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("boHuiCause", getBoHuiCause())
            .toString();
    }
}
